<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        /* 
         1.a的padding设置左侧的弧度
         2.span的padding设置右侧的弧度
         3.用span的文字撑开a
         4.a之所以包含span可以达到整个菜单都能点击的目的
         */

        a {
            display: inline-block;
            height: 33px;
            background: url(./images/ao.png) no-repeat;
            text-decoration: none;
            padding-left: 15px;
            margin: 100px;
            color: white;
            line-height: 33px;
        }

        span {
            display: inline-block;
            height: 33px;
            background: url(./images/ao.png) no-repeat;
            background-position: right;
            padding-right: 15px;
        }
    </style>
</head>

<body>
    <a href="#">
        <span>
            首页
        </span>
    </a>
</body>

</html>